projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe56e6b
)
(Finsert_file_contents): In the case of replace,
author
Kenichi Handa
<handa@m17n.org>
Wed, 7 Jan 2009 12:26:02 +0000
(12:26 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Wed, 7 Jan 2009 12:26:02 +0000
(12:26 +0000)
remeber the coding system used for decoding in coding_system.
src/fileio.c
patch
|
blob
|
history
diff --git
a/src/fileio.c
b/src/fileio.c
index e358c3f781e7e12e7264f19ecb2780d91ee69569..e916972a3735a13d7006f04d3fc636dd169f32b8 100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-3687,6
+3687,7
@@
variable `last-coding-system-used' to the coding system actually used. */)
coding.mode &= ~CODING_MODE_LAST_BLOCK;
}
+ coding_system = CODING_ID_NAME (coding.id);
decoded = BUF_BEG_ADDR (XBUFFER (conversion_buffer));
inserted = (BUF_Z_BYTE (XBUFFER (conversion_buffer))
- BUF_BEG_BYTE (XBUFFER (conversion_buffer)));